Skip to content

add host_override to parent.config and other sni name fixes#12868

Merged
traeak merged 3 commits intoapache:masterfrom
traeak:parent_sni
Mar 17, 2026
Merged

add host_override to parent.config and other sni name fixes#12868
traeak merged 3 commits intoapache:masterfrom
traeak:parent_sni

Conversation

@traeak
Copy link
Contributor

@traeak traeak commented Feb 9, 2026

Fixes to sni name handling when using another CDN as parent.

This adds "host_override" to parent.config and has some fixes for the strategies handling of same option.

This comment was marked as duplicate.

This comment was marked as duplicate.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 14 out of 14 changed files in this pull request and generated 4 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@traeak traeak marked this pull request as ready for review February 16, 2026 17:13
@bryancall bryancall requested a review from serrislew February 23, 2026 22:54
@cmcfarlen cmcfarlen modified the milestones: 10.2.0, 11.0.0 Feb 23, 2026
@serrislew
Copy link
Contributor

serrislew commented Feb 25, 2026

Some docs on the new feature would be helpful!

``host_override``
One of the following values:

- ``true`` - Sets the host header of the request using the selected parent, including the SNI name to be used for any upstream TLS connection. Useful when a parent is another CDN that requires a correct SNI name.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ifpristine_host_hdr is set to 1, does this have precedence over it?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the pristine host header looks like it applies during remap and cache lookup but not after, which is where the host_override kicks in. I'll look into it more closely.

@traeak
Copy link
Contributor Author

traeak commented Mar 16, 2026

[approve ci autest]

@traeak traeak merged commit 801e5be into apache:master Mar 17, 2026
15 checks passed
@github-project-automation github-project-automation bot moved this to For v10.2.0 in ATS v10.2.x Mar 17, 2026
@cmcfarlen cmcfarlen moved this from For v10.2.0 to Picked v10.2.0 in ATS v10.2.x Mar 18, 2026
@cmcfarlen cmcfarlen modified the milestones: 11.0.0, 10.2.0 Mar 18, 2026
@cmcfarlen
Copy link
Contributor

Cherry-picked to 10.2.x

cmcfarlen pushed a commit that referenced this pull request Mar 18, 2026
* add host_override to parent.config and other sni name fixes

* add documentation for host_override in parent.config, update strategies.yaml docs

* add test using pristine_host_hdr setting

---------

Co-authored-by: Brian Olsen <bolsen149@comcast.com>
(cherry picked from commit 801e5be)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Picked v10.2.0

Development

Successfully merging this pull request may close these issues.

5 participants